<!--
 * @Author: your name
 * @Date: 2021-11-10 10:31:34
 * @LastEditTime: 2021-11-10 11:21:15
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \vue-note\day01\01.Vue初体验.html
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
  </head>
  <body>
    <div id="app">
      <h2>{{msg}}</h2>
      <input type="text" :placeholder="placeholder" v-model="message" />
      <p>您输入的手机号是： {{message}}</p>
    </div>
    <script>
      // 关闭生产提示
      Vue.config.productionTip = false;
      // modelView
      const mv = new Vue({
        el: "#app",
        data: {
          msg: "Hello Vue",
          placeholder: "请输入phone",
          message: "",
          list: ["HTML", "JavaScript", "Vue"],
          gender: "男",
        },
      });
    </script>
  </body>
</html>
